package com.etc.controller;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ErrorController {

    //404错误
    @RequestMapping(value="/404")
    public String notFound(){
        //do something
        return "404";
    }

    //500错误
    @RequestMapping(value="/500")
    public String error(){
        //do something
        return "500";
    }








}
